<?php

//////////////////////////////////////////////////
//			Xtra Forum Software                           //
//			      Version 0.1.0                                   //
//		 -----------------------------------------	          //
//               Copyright 2008, Xtra Forum Software           //
//	        http://www.xtraforumsoftware.us.to/           //
/////////////////////////////////////////////////

?>

<?php

// Header function
function Template_Header_Head()
{
	global $settings; // Include the globals
	// Meta tags and head stuff.
	echo '<html>
			<head>
				<title>' .$settings['website_name']. ' - ' .$variable['page']. '</title>
				<meta name="description" content="' .$settings['website_description']. '" />
				<meta name="keywords" content="' .$settings['website_keywords']. '" />
				<link rel="stylesheet" type="text/css" href="' .$settings['theme_url']. '/style.css" />
			</head>';
}

function Template_Header_Banner()
{	
	global $settings; // Include the globals
	// Includes Banner, header search, and header slogan.
	echo '<body>
				<div class="Container">
					<div class="Header">
						<table id="Header_Table">
							<tr>
								<td>
										<img src="' .$settings['theme_url']. '/images/logo.gif" alt="' .$settings['website_name']. '" />
								</td>
								<td>
									<p id="Header_Search">
										<form action="index.php?action=Search" method="post">
										<input type="text" name="search_query" />
										<input type="submit" value="Search" />
										</form>
									</p>
								</td>
							</tr>
						</table>
					</div>';
}

function Template_Header_Navigation()
{	
	global $txt; // Include the globals
	// Navigation
	echo '<div class="Navigation">
			&nbsp;&nbsp;&nbsp;<a href="index.php">', $txt[1], '</a>&nbsp;
			<a href="index.php?action=', $txt[2], '">', $txt[2], '</a>&nbsp;
			<a href="index.php?action=', $txt[3], '">', $txt[3], '</a>&nbsp;
			<a href="index.php?action=', $txt[4], '">', $txt[4], '</a>&nbsp; 
			<a href="index.php?action=', $txt[5], '">', $txt[5], '</a>&nbsp;
		</div>';
}

function Template_Header_NewsTicker()
{
	// Contains the News Ticker
	echo '<div class="News_Ticker">
			<p id="News_Ticker_Text">
				&nbsp;&nbsp;<b>News:</b> Display News Here!
			</p>
		</div><br />';
}

function Template_Show_Guest_Greeting()
{

}

function Template_Show_Member_Greeting()
{

}

?>